package com.gxuwz.medical.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.gxuwz.medical.domain.medical.Medical;

public class MedicalDao extends GenericDao<Medical>{
	@Override
	protected Medical handle(ResultSet rs) throws SQLException {
		String medicalid=rs.getString("medicalid");
		String medicalname=rs.getString("medicalname");
		Medical entity=new Medical(medicalid, medicalname);
		return entity;
	}
}
